package cn.wolfcode.wolf2w.util;

import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;

@Getter
@Setter
/**
 * 参数包装类，链式编程
 */
public class ParamMap extends HashMap<String, Object> {
    @Override
    public ParamMap put(String key, Object value) {
        super.put(key,value);
        return this;
    }

    public static ParamMap newInstance(){
        return new ParamMap();
    }
}
